---
import type { MonitoringWithoutRouteProps } from '../..';
// @ts-ignore This file will not be packaged, so the file to be imported should be a .mjs file.
import { AstroMonitor } from './component.mjs';

type Props = MonitoringWithoutRouteProps;

const path = Astro.url.pathname;
const params = Astro.params;
---

<AstroMonitor path={path} params={params} {...Astro.props} client:only="react" />
